layui.use(['form','treeSelect','element','layer','upload','laydate'],function(){
    var form = layui.form
        layer = parent.layer === undefined ? layui.layer : top.layer,
        $ = layui.jquery;
    var upload = layui.upload;
    var treeSelect = layui.treeSelect;
    var laydate = layui.laydate;
    var element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块


    //点击tab导航刷新表格
    $("#trace-list li").click(function () {
        var iframe = $("#trace-list .layui-tab-item").eq($(this).index()).find('iframe');
        var url = iframe.attr("src");
        iframe.attr("src",url);
    });

});